<div class="admin">
    <div class="tab panel dux-box admin-panel">
        <div class="panel-head"><strong>会员管理</strong></div>
        <div class="padding border-bottom">
            <a href="JavaScript:void(0);" class="button button-small border-green">管理</a>
        </div>
        <div class="fixed-empty"></div>
        <form method="get" action="{:U('index')}" name="formSearch" id="formSearch">
            <table class="tb-type1 noborder search">
                <tbody>
                    <tr>
                        <th><label>用户名</label></th>
                        <td><input class="input input_big" type="text" name="user_name" value=""></td>
                    </tr>
                    <tr>
                        <th><label for="query_start_time">注册时间</label></th>
                        <td><input class="input input-small date hasDatepicker" type="text" value="" id="query_start_time" name="query_start_time" readonly="readonly">
                            <label class="query_start_time" for="query_start_time">~</label><span>　</span>
                            <input class="input input-small date hasDatepicker" type="text" value="" id="query_end_time" name="query_end_time" readonly="readonly"></td>
                        <td><input  class="button bg-main" type="submit" value="查询" /></td>
                    </tr>
                </tbody>
            </table>
        </form>
        <div style="text-align:right;"><a class="button" target="_blank" href="index.php?act=order&amp;op=index&amp;op=export_step1"><span>导出Excel</span></a></div>
        <table class="table tb-type2 nobdb">
            <thead>
                <tr class="thead">
                    <th class="align-center">编号</th>
                    <th class="align-center">会员</th>
                    <th class="align-center">性别</th>
                    <th class="align-center">注册时间</th>
                    <th class="align-center">金额</th>
                    <th class="align-center">冻结金额</th>
                    <th class="align-center">手机</th>
                    <th class="align-center">详细地址</th>
                    <th class="align-center">操作</th>
                </tr>
            </thead>
            <tbody>
            <foreach item="v" name="list">
                <tr class="hover">
                    <td class="align-center">{$v['user_id']}</td>
                    <td class="align-center">{$v['user_name']}</td>
                    <td class="align-center"></td>
                    <td class="align-center">{$v['last_time']}</td>
                    <td class="align-center">{$v['user_money']}</td>
                    <td class="nowrap align-center">{$v['frozen_money']}</td>
                    <td class="nowrap align-center">{$v['mobile_phone']}</td>
                    <td class="nowrap align-center">{$v['address']}</td>
                    <td class="w144 align-center">
                        <a href="{:U('deleteuser',array('user_id'=>$v['user_id']))}">删除</a>
                        <!-- 删除 -->
                    </td>
                </tr>
            </foreach>

            </tbody>
            <tfoot>
                <tr class="tfoot">
                    <td colspan="15"><div class="pages clearfix">{$pages}</div></td>
                </tr>
            </tfoot>
        </table>
    </div>
</div>
<script type="text/javascript">
    $('#myform').layer({
        actionUrl: "batchAction",
        deleteUrl: "del",
    });
    $('#query_start_time').duxTime({
        timepicker: false,
    });
    $('#query_end_time').duxTime({
        timepicker: false,
    });
</script>